package com.duanjw.springframework.di.web;

import org.springframework.stereotype.Controller;
import com.duanjw.springframework.di.service.UserService;
import com.duanjw.springframework.di.service.OrdersService;

@Controller
public class UserController {
    private final UserService UserService;
    private final OrdersService OrdersService;

    public UserController(UserService userService, OrdersService ordersService) {
        UserService = userService;
        OrdersService = ordersService;
    }
}
